formula to find selling price when profit and cost priceis given